#ifndef __DRIVER_NS16550_H_
#define __DRIVER_NS16550_H_

#include "typedef.h"

int ns16550_putc(address base, char c);

/**
 * @brief send a char by ns16550 uart
 * 
 * @param base the base address of this uart
 * @param c the char needs go out
 * @return int 
 */
#define ns16550_putc(b,c) \
    ns16550_putc(CAST_AS(address, b) ,c)

#endif//__DRIVER_NS16550_H_